package uscdb.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "tenvironment")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Tenvironment implements java.io.Serializable {

	private static final long serialVersionUID = -7268120496594629878L;

	private String id;

	/**
	 * CGPde IP,也就是OMU的IP
	 */
	private String cgpIP;

	/**
	 * 环境使用者
	 */
	private String user;

	/**
	 * 环境架构
	 */
	private String vm;

	/**
	 * 执行机
	 */
	private String actuator;

	/**
	 * MANO的IP
	 */
	private String manoIP;

	/**
	 * 网络名
	 */
	private String network;
	/**
	 * 网关
	 */
	private String gateway;
	/**
	 * 主机组
	 */
	private String host;

	/**
	 * VPC
	 */
	private String vpc;

	/**
	 * 磁阵
	 */
	private String magneticArray;

	/**
	 * 备注
	 */
	private String remarks;

	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "cgpIP", length = 100)
	public String getCgpIP() {
		return cgpIP;
	}

	public void setCgpIP(String cgpIP) {
		this.cgpIP = cgpIP;
	}

	@Column(name = "user", length = 100)
	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	@Column(name = "vm", length = 100)
	public String getVm() {
		return vm;
	}

	public void setVm(String vm) {
		this.vm = vm;
	}

	@Column(name = "actuator", length = 100)
	public String getActuator() {
		return actuator;
	}

	public void setActuator(String actuator) {
		this.actuator = actuator;
	}

	@Column(name = "network", length = 100)
	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	@Column(name = "gateway", length = 100)
	public String getGateway() {
		return gateway;
	}

	public void setGateway(String gateway) {
		this.gateway = gateway;
	}

	@Column(name = "host", length = 100)
	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	@Column(name = "vpc", length = 100)
	public String getVpc() {
		return vpc;
	}

	public void setVpc(String vpc) {
		this.vpc = vpc;
	}

	@Column(name = "magneticArray", length = 100)
	public String getMagneticArray() {
		return magneticArray;
	}

	public void setMagneticArray(String magneticArray) {
		this.magneticArray = magneticArray;
	}

	@Column(name = "remarks", length = 100)
	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "manoIP", length = 100)
	public String getManoIP() {
		return manoIP;
	}

	public void setManoIP(String manoIP) {
		this.manoIP = manoIP;
	}

}
